package com.xinqi.modules.sys.dict.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinqi.common.mybatis.data.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * 字典数据表实体层
 *
 * @author: linkai
 * @date: 2023/05/21
 */
@Setter
@Getter
@TableName("sy_dict_data")
public class DictDataEntity extends BaseEntity {
    /**
     * 父ID
     */
    @TableField(value = "parent_id")
    private Long parentId;
    /**
     * 字典类型
     */
    @TableField(value = "dict_type")
    private String dictType;
    /**
     * 字典KEY
     */
    @TableField(value = "dict_key")
    private String dictKey;
    /**
     * 字典键值
     */
    @TableField(value = "dict_value")
    private String dictValue;
    /**
     * 是否默认  0-否, 1-是
     */
    @TableField(value = "is_default")
    private Integer isDefault;
    /**
     * 状态，0-停用； 1-正常
     */
    @TableField(value = "status")
    private String status;
    /**
     * 字典排序
     */
    @TableField(value = "dict_sort")
    private Integer dictSort;
    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
}
